{include="header.html"}
<!--banner-->
<div class="bannerbox">
    {foreach $zhlcms::essayList('article', 14) as $v}
        <a href="{$v.ahref}"><img src="{SYS_LINK}{$v.img}" alt="{$v.title}"></a>
    {/foreach}
</div>
<!--content-->
<div class="content">
    <!--about-->
    <div class="c_box">
        {|$menu10 = $zhlcms::menuInfo(10)}
        <div class="titlebox"><span>{$menu10.menuname}</span><a href="{$menu10.url}" class="info">详细></a></div>
        <div class="about_box" style="height:290px;overflow: hidden;text-overflow：ellipsis;">
            {|$aboutInfo = $zhlcms::essayInfos('article',2)}
            {fun strHtml($aboutInfo['content'])}
        </div>
    </div>
    <!--product-->
    <div class="c_box">
        {|$menu11 = $zhlcms::menuInfo(11)}
        <div class="titlebox"><span>{$menu11.menuname}</span><a href="{$menu11.url}" class="info">详细></a></div>
        <div class="product_box">
            {foreach $zhlcms::essayList('product', 11, 4, array('recom'=>2)) as $v}
            <a href="{$v.url}"><img src="{SYS_LINK}{$v.img}" alt="{$v.title}"><br>{fun mbSubstr($v['title'], 0, 12, true)}</a>
            {/foreach}
        </div>
    </div>
    <!--news-->
    <div class="c_box">
        {|$menu7 = $zhlcms::menuInfo(7)}
        <div class="titlebox"><span>{$menu7.menuname}</span><a href="{$menu7.url}" class="info">详细></a></div>
        <div class="news_box">
            {foreach $zhlcms::essayList('article', 8, 3, array('recom'=>2)) as $v}
            <div class="new_item">
                <a href="{$v.url}"><img src="{SYS_LINK}{$v.img}" alt="{$v.title}"></a>
                <div class="new_title"><a href="{$v.url}">{$v.title}</a></div>
                <div class="new_desc"><a href="{$v.url}">{fun mbSubstr($v['desctxt'], 0, 100, true)}</a></div>
                <div class="new_time">{fun date('Y-m-d',strtotime($v['createdate']))}</div>
            </div>
            {/foreach}
        </div>
    </div>
    <!--news-->
    <div class="c_box">
        <div class="link">
            <span>有情链接：</span>
            {foreach $zhlcms::essayList('article', 20) as $v}
            <a href="{$v.ahref}" target="_blank">{$v.title}</a>
            {/foreach}
        </div>
    </div>
</div>
{include="footer.html"}